package com.avicit.zipkinkafkaesserver.dao;

import com.avicit.zipkinkafkaesserver.entity.ZipkinInterfaceAverageDuration;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface ZipkinInterfaceAverageDurationDao extends JpaRepository<ZipkinInterfaceAverageDuration,Long>, JpaSpecificationExecutor<ZipkinInterfaceAverageDuration> {
    ZipkinInterfaceAverageDuration findByQueryDateAndInterfacePathAndServerName(String queryDate, String interfacePath, String serverName);
}
